GetUserToken
TheGetUserToken
method returns a reference to the descriptor object contained in the specified OpenDoc token.
ODDesc GetUserToken(in ODOSLToken token);
- token
- A reference to the OpenDoc token from which to extract the descriptor.
- return value
- A reference to the descriptor object contained inside this token.
DISCUSSION
This method returns the descriptor that represents your private data. You must not dispose of this descriptor; OpenDoc will dispose of it for you.The
token
parameter must be a valid OpenDoc token; you can call theIsODToken
method to check whether a token is valid.EXCEPTIONS
kODErrNotAnODToken
- The specified token is not an OpenDoc token.
SEE ALSO
TheODNameResolver::IsODToken
method (page 425).
"Returning Tokens" on page 428 in OpenDoc Programmer's Guide.
Table 11-1 on page 466 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help